package com.supr.mapper;

import java.util.HashMap;
import java.util.List;

import com.supr.model.Category;

public interface CategoryMapper {

	Category getCategoryByAlias(String aliasName);

	int getCategoryCount(HashMap<String, Object> paramMap);

	List<Category> getCategoryList(HashMap<String, Object> paramMap);

	List<Category> getAllCategoryList();

	int addCategory(Category category);

	Category getCategoryById(String id);

	int editCategory(Category category);

}
